package com.hanbang.chu_xing_gao_zhao.entity;

/**
 * 主体的实体
 * Created by yang on 2016/1/28.
 */
public class CommentData {
    private int row_number;
    private int id;
    private int user_id;
    private int keyid;
    private String text;
    private int type;
    private String add_time;
    private String user_name;
    private String avatar;
    private int likecount;
    private int islike;

    public CommentData() {
    }

    public CommentData(int row_number, int id, int user_id, int keyid, String text, int type, String add_time, String user_name, String avatar, int likecount, int islike) {
        this.row_number = row_number;
        this.id = id;
        this.user_id = user_id;
        this.keyid = keyid;
        this.text = text;
        this.type = type;
        this.add_time = add_time;
        this.user_name = user_name;
        this.avatar = avatar;
        this.likecount = likecount;
        this.islike = islike;
    }

    public int getRow_number() {
        return row_number;
    }

    public void setRow_number(int row_number) {
        this.row_number = row_number;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getKeyid() {
        return keyid;
    }

    public void setKeyid(int keyid) {
        this.keyid = keyid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getLikecount() {
        return likecount;
    }

    public void setLikecount(int likecount) {
        this.likecount = likecount;
    }

    public int getIslike() {
        return islike;
    }

    public void setIslike(int islike) {
        this.islike = islike;
    }

    @Override
    public String toString() {
        return "CommentData{" +
                "row_number=" + row_number +
                ", id=" + id +
                ", user_id=" + user_id +
                ", keyid=" + keyid +
                ", text='" + text + '\'' +
                ", type=" + type +
                ", add_time='" + add_time + '\'' +
                ", user_name='" + user_name + '\'' +
                ", avatar='" + avatar + '\'' +
                ", likecount=" + likecount +
                ", islike=" + islike +
                '}';
    }
}
